// import com.alibaba.druid.sql.ast.SQLObject;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

// import java.util.Collections;
// import java.util.List;
#pragma once
#include <list>
#include <string>
#include "SQLNumericLiteralExpr.h"
#include "SQLValuableExpr.h"
class SQLASTVisitor;
class SQLSmallIntExpr : public SQLNumericLiteralExpr, virtual public SQLValuableExpr
{
public:
  double value;

  SQLSmallIntExpr();

  SQLSmallIntExpr(double value);

  SQLSmallIntExpr(string_ptr  value);
  SHAREDOBJECT(SQLSmallIntExpr);

  virtual SQLObject_ptr clone();

  //@Override
  SQLObject_list_ptr  getChildren();

  //@Override
  double getNumber();

  //@Override
  double getValue();

  void setValue(double value);

  void accept0(SQLASTVisitor_ptr visitor);

  //@Override
  int hashCode();

  //@Override
  bool equals(Object_ptr obj);

  //@Override
  void setNumber(double number);
};
